V1.0.6/service update - #12
Conversation
Greptile SummaryThis is an automated service-update PR (v1.0.6) that bumps Codebelt/Cuemon dependency versions, extends the NuGet version-bumping script to also fetch the latest stable releases for non-triggered Codebelt packages via the NuGet API, fixes an incorrect MSBuild property name (
Confidence Score: 5/5Safe to merge — all changes are package version bumps, a property-name fix, a doc-site image relaxation, and minor script/formatting improvements with no runtime logic alterations. The dependency bumps are incremental patch/minor updates to well-known packages. The script change adds NuGet API lookups that fail gracefully with a warning and leave versions unchanged on error. The AnalysisMode property fix corrects a previously inert misconfiguration. The only cosmetic imperfection is the extra leading whitespace on the class declaration in XmlResponseNegotiator.cs, which does not affect compilation or behaviour. The XmlResponseNegotiator.cs file has a minor leftover indentation artifact from the namespace-style migration, but it requires no blocking action. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[bump-nuget.py triggered\nTRIGGER_SOURCE + TRIGGER_VERSION] --> B[Read Directory.Packages.props]
B --> C{For each PackageVersion}
C --> D{is_triggered_package?}
D -- Yes --> E[Set version to\nTRIGGER_VERSION]
D -- No --> F{is_codebelt_package?}
F -- Yes --> G[get_latest_nuget_version\nvia NuGet API]
G --> H{version in cache?}
H -- Yes --> I[Return cached version]
H -- No --> J[HTTP GET\napi.nuget.org/v3-flatcontainer]
J --> K[Filter stable versions\nno hyphen]
K --> L[Cache + return latest]
I --> M[Apply if newer]
L --> M
F -- No --> N[Skip — third-party package]
E --> O[Write updated file]
M --> O
N --> O
O --> P[Print changes summary]
Reviews (2): Last reviewed commit: "🔧 update changelog for version 1.0.6 wi..." | Re-trigger Greptile |
Update NGINX base image from 1.31.2-alpine to 1.31-alpine. This relaxes the patch version constraint to allow more flexibility in the specific NGINX release used while maintaining the minor version.
Refactored the NuGet package bumping script to support intelligent version management. Triggered packages are set to the specified version, while other Codebelt-related packages are fetched from NuGet to their latest stable versions. Added support for additional package mappings, NuGet API lookups with caching, improved encoding handling, and enhanced output messaging.
Update central package version manifest with latest stable releases: Codebelt.Extensions.AspNetCore.Newtonsoft.Json 10.1.6, Codebelt.Extensions.Xunit.App 11.1.2, Cuemon packages 10.5.5, and Microsoft.NET.Test.Sdk 18.8.1. Also normalize line endings to LF format.
Change AnalysisLevel property to AnalysisMode in Directory.Build.props. This property name is the correct MSBuild property for controlling the analysis mode during builds.
Convert XmlResponseNegotiator from traditional namespace declaration with nested class indentation to modern file-scoped namespace syntax. Adjust class and member indentation to align with codebase style conventions.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #12 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 6 6
Lines 83 83
Branches 5 5
=========================================
Hits 83 83 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This is a service update that focuses on package dependencies.
Automated changes:
Note: Third-party packages (Microsoft.Extensions.*, BenchmarkDotNet, etc.) are not auto-updated.
Use Dependabot or manual updates for those.
Generated by codebelt-aicia
Triggered by: yamldotnet @ 10.1.6